package com.mcz.yun4book.service;


import com.mcz.yun4book.entity.Type;
import org.springframework.data.domain.Page;

import java.util.List;

public interface TypeService {
    Page<Type> findAllType(int page, int limit, Type type);

    Type addType(Type type);

    Type findTypeId(int id);

    Type editType(Type type);

    int delTypeById(int id);

    List<Type> findAllType();
}
